<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<style type="text/css">
			.name{
				border: 1px solid green;
				color: gold;
			}
		</style>
	</head>

	<body>
		<input type="button" id="" value="click" onclick="Run()" />
		<script type="text/javascript" src="layer/layer.js"></script>
		<script type="text/javascript">
			function Run() {
				var page = {
					type: 1,
					content: "what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>whatwhat fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/> fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>what fuck<br/>",
					style: 'position:fixed; left:10px; bottom:20px; width:100%; max-height:70%; border:none;overflow-y:auto',
					className:"name",
					shift:6
				};
				layer.open(page);
			}
		</script>
	</body>

</html>